<template>
    <div>
        <div>商品id: <strong>{{orderInfo.goodInfo.goodNo}}</strong></div>
        <div>商品名称: <strong>{{orderInfo.goodInfo.goodName}}</strong></div>
        <div>商品描述: 
          <OrderInfo>
            <template #desc>
              <img :src="orderInfo.goodInfo.desc" alt="">
            </template>
          </OrderInfo>
       
        </div>
      </div>
</template>

<script>
import OrderInfo from '@/components/OrderInfo.vue'

export default {
components:{
  OrderInfo
},
props:{
  orderInfo:{
    type:Object
  }
}
}
</script>

<style>
img{
  width: 150px;
  height: 100px;
}
</style>